<html>
<body>

<?php
$txt="Hello World <br />";
echo $txt;
?>


<!--  The Concatenation Operator -->
<?php
$txt1="Hello World!";
$txt2="What a nice day!";
echo $txt1 . " " . $txt2."<br />";
?>


<!-- The strlen() function is used to return the length of a string.  -->
<?php
echo strlen("Hello world!")."<br />";
?>


<!-- The strpos() function is used to search for a character/text within a string.

If a match is found, this function will return the character position of the first match. If no match is found, it will return FALSE.  -->
<?php
echo strpos("Hello world!","world");
?>
</body>
</html>